#include "enteryandout.h"
#include "ui_enteryandout.h"
#include <QScreen>

enteryandout::enteryandout(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::enteryandout)
{
    ui->setupUi(this);
    this->setWindowTitle("入馆/出馆");
    QRect screenGeometry = QGuiApplication::primaryScreen()->geometry();
    this->move(screenGeometry.left(), screenGeometry.top());
}

enteryandout::~enteryandout()
{
    delete ui;
}

void enteryandout::on_pushButton_clicked()
{
    emit entry();
}

void enteryandout::on_pushButton_2_clicked()
{
    emit out();
}
